﻿using System;
using System.Collections.Generic;
using DomainModel;

namespace Repository.Abstract
{
    public interface ILessonRepository : IRepository<Lesson>
    {
        IEnumerable<Lesson> GetByDateAndTimetable(DateTime date, Timetable timetable);
        IEnumerable<Lesson> GetByTimetable(Timetable timetable);
        IEnumerable<Lesson> GetByStudent(User student);
        Lesson GetByStudentAndDate(User student, DateTime date);
    }
}